
extern uint32_t  global_seconds;
extern uint32_t  seconds;
extern uint32_t interval_desired; 
extern uint8_t h,m,logstart;

//  Function declarations
void RTC_init(void);            //initialize the Timer Counter 2 in asynchron operation
uint32_t Calculate_time(uint8_t hour,uint8_t minute);
